<template>
    <div class="myHeader">
        <span>
            <slot name="left"></slot>
        </span>
        <span>
            <slot name="center"></slot>
        </span>
        <span>
            <slot name="right"></slot>
        </span>
    </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.myHeader{
    width: 100%;
    height: 1rem;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 .4rem;
}
</style>
